﻿using FluentScheduler;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WindowsFormsApp3.Comm
{
    public class MyRegistry : Registry
    {
        public MyRegistry()
        {
            //扫描合约余额不足的学员  每天执行一次 0.3
            //Schedule(() => Logic.Core.TimeTask.Job.UserContractNoPriceMessage())
            //     .ToRunEvery(1).Days().At(0, 4);

            ////数据库备份 每晚23.55 执行一次
            //Schedule(() => Logic.Core.TimeTask.Job.DBBackups())
            //     .ToRunEvery(1).Days().At(23, 55);
        }
    }
}
